﻿CREATE TRIGGER IssuePlace_Tracking_Delete
ON [dbo].[IssuePlace] 
AFTER delete
AS 
BEGIN
	UPDATE Sync.IssuePlace_Tracking 
	SET LastUpdatedDate  = getdate(),
		IsDeleted = 1
	FROM Sync.IssuePlace_Tracking s JOIN DELETED i
    ON s.IssuePlaceID = i.IssuePlaceID
END





